<!--
 * @Author: jay
 * @Date: 2021-08-17 15:19:04
 * @LastEditTime: 2021-08-17 15:44:13
 * @LastEditors: Please set LastEditors
 * @Description: 其他
 * @FilePath: \Briup\Common\study\2-css\3-其他样式规则\1-other.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>其他</title>
    <style>
        .one{
            cursor:pointer;
        }
        .two ,.three{
            width: 100px;
            height: 100px;
            margin-top: 10px;
        }
        .two{
            background-color: lightskyblue;
            /* visibility: hidden; */
            display: none;
        }
        .three{
            background-color: limegreen;
            opacity: .2;
        }
        .four{
            height: 20px;
            background-color: mediumpurple;
        }
        .five{
           
            background-color: mediumseagreen;
            color: #f3f3f3;
        }
        .five > span{
            display: inline-block;                          /* 可给行内元素设置高 */
        }
        .five > span:nth-child(1){
            height: 100px;
            background-color: #fff;
        }
    </style>
</head>
<body>
    <div class="one">hello world</div>
    <div class="two"></div>
    <div class="three"></div>
    <div class="four"></div>
    <div class="five">
        <span>one</span>
        <span>two</span>
        <span>three</span>
    </div>
</body>
</html>